package com.study.boot.readinglist.service.impl;

import com.study.boot.readinglist.entity.Address;
import com.study.boot.readinglist.service.AddressService;
import org.springframework.stereotype.Service;

@Service
public class AddressServiceImpl implements AddressService {
    @Override
    public Address findByLastName(String name) {
        return new Address("p", "Sherman", "42 Wallaby Way", "Sydney",
                "New South Wales", "2000");
    }
}
